import Vue from "vue";
import Antd from "ant-design-vue";
import VueRouter from "vue-router";

import App from "./App.vue";
import router from "./routes";
import i18n from '@/locale';
import 'ant-design-vue/dist/antd.css';
import "./assets/styles/locale.antd.css";
import "./assets/css/font-awesome.min.css";
import { AppService } from "./service/app-service";

Vue.use(VueRouter);
Vue.use(Antd);
Vue.config.productionTip = false;
AppService.getInstance().initApp(router);


new Vue({
  i18n,
  router,
  render: (h) => h(App),
}).$mount("#main-app");
